home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJLSR106.ARJ / CTYPE.C < prev    next >
C/C++ Source or Header  |  1992-03-02  |  2KB  |  50 lines

  1. /* This file may have been modified by DJ Delorie (Jan 1991).  If so,
  2. ** these modifications are Coyright (C) 1991 DJ Delorie, 24 Kirsten Ave,
  3. ** Rochester NH, 03867-2954, USA.
  4. */
  5.  
  6. /*
  7.  * Copyright (c) 1989 The Regents of the University of California.
  8.  * All rights reserved.
  9.  *
  10.  * Redistribution and use in source and binary forms are permitted
  11.  * provided that: (1) source distributions retain this entire copyright
  12.  * notice and comment, and (2) distributions including binaries display
  13.  * the following acknowledgement:  ``This product includes software
  14.  * developed by the University of California, Berkeley and its contributors''
  15.  * in the documentation or other materials provided with the distribution
  16.  * and in all advertising materials mentioning features or use of this
  17.  * software. Neither the name of the University nor the names of its
  18.  * contributors may be used to endorse or promote products derived
  19.  * from this software without specific prior written permission.
  20.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  21.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  22.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  23.  */
  24.  
  25. #if defined(LIBC_SCCS) && !defined(lint)
  26. static char sccsid[] = "@(#)ctype_.c    5.6 (Berkeley) 6/1/90";
  27. #endif /* LIBC_SCCS and not lint */
  28.  
  29. #include <ctype.h>
  30.  
  31. char _ctype_[1 + 256] = {
  32.     0,
  33.     _C,    _C,    _C,    _C,    _C,    _C,    _C,    _C,
  34.     _C,    _C|_S,    _C|_S,    _C|_S,    _C|_S,    _C|_S,    _C,    _C,
  35.     _C,    _C,    _C,    _C,    _C,    _C,    _C,    _C,
  36.     _C,    _C,    _C,    _C,    _C,    _C,    _C,    _C,
  37.     _S|_B,    _P,    _P,    _P,    _P,    _P,    _P,    _P,
  38.     _P,    _P,    _P,    _P,    _P,    _P,    _P,    _P,
  39.     _N,    _N,    _N,    _N,    _N,    _N,    _N,    _N,
  40.     _N,    _N,    _P,    _P,    _P,    _P,    _P,    _P,
  41.     _P,    _U|_X,    _U|_X,    _U|_X,    _U|_X,    _U|_X,    _U|_X,    _U,
  42.     _U,    _U,    _U,    _U,    _U,    _U,    _U,    _U,
  43.     _U,    _U,    _U,    _U,    _U,    _U,    _U,    _U,
  44.     _U,    _U,    _U,    _P,    _P,    _P,    _P,    _P,
  45.     _P,    _L|_X,    _L|_X,    _L|_X,    _L|_X,    _L|_X,    _L|_X,    _L,
  46.     _L,    _L,    _L,    _L,    _L,    _L,    _L,    _L,
  47.     _L,    _L,    _L,    _L,    _L,    _L,    _L,    _L,
  48.     _L,    _L,    _L,    _P,    _P,    _P,    _P,    _C
  49. };
  50.